package com.ruoyi.back.domain.vo

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("用户信息")
data class UserInfo(

    @ApiModelProperty("自增id")
    var id: Long? = 1L,

    @ApiModelProperty("用户id")
    var userId: String? = null,

    @ApiModelProperty("用户名")
    var username: String? = null,

    @ApiModelProperty("头像")
    var headUrl: String? = null,

    @ApiModelProperty("注册日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    var registerDate: Date? = null,

    @ApiModelProperty("用户类型")
    var userType: String? = null,

    @ApiModelProperty("来源渠道")
    var source: String? = null,

    @ApiModelProperty("换脸次数")
    var changeFaceNum: Long? = null,

    @ApiModelProperty("登录方式")
    var loginType: String? = null,

    @ApiModelProperty("会员时间")
    var memberDate: String? = null,

    @ApiModelProperty("最后登录日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    var lastLoginDate: Date? = null,

)
